package com.shangguan.springboot.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName: AdminController
 * @Description:
 * @Author: 一尘
 * @Date: 2020 年 03 月 10 12:36
 * @Version 1.0
 */
@Controller
@RequestMapping("/admin")
@Slf4j
public class AdminController {
    @GetMapping("/admin-list")
    public String adminList(){
        log.info("---------------admin-list-----------------");
        return "admin-list";
    }

    @GetMapping("/admin-edit")
    public String adminLEdit(){
        log.info("---------------admin-edit-----------------");
        return "admin-edit";
    }
}
